package com.ikun.admin.modules.sys.vo;

import com.ikun.admin.modules.sys.service.UserService;
import com.ikun.common.search.annotation.ResultUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @ClassName BaseLogVo
 * @Description:
 * @CreateDate: 2024/7/28 1:57
 */
@Data
@ApiModel("通用日志返回vo")
public class BaseLogListResultVo {
    private Long id;

    @ApiModelProperty("用户名称")
    @ResultUtil(listEntityPropName = "creator",resultListEntityPropName = "realName",resultListUsedService = UserService.class)
    private String realName;

    @ApiModelProperty("日志记录时间")
    private LocalDateTime createTime;

}
